import Vue from 'vue'
import VueRouter from 'vue-router'
import Discovery from '../views/discovery.vue'
import Mv from '../views/mv.vue'
import Mvs from '../views/mvs.vue'
import Playlist from '../views/playlist.vue'
import Playlists from '../views/playlists.vue'
import Result from '../views/result.vue'
import Songs from '../views/songs.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    component: Discovery
  },
  {
    path: '/discovery',
    name: 'discovery',
    component: Discovery
  },
  {
    path: '/mv',
    name: 'mv',
    component: Mv
  },
  {
    path: '/mvs',
    name: 'mvs',
    component: Mvs
  },
  {
    path: '/playlist',
    name: 'playlist',
    component: Playlist
  },
  {
    path: '/playlists',
    name: 'playlists',
    component: Playlists
  },
  {
    path: '/result',
    name: 'result',
    component: Result
  },
  {
    path: '/songs',
    name: 'songs',
    component: Songs
  },
]

const router = new VueRouter({
  routes
})

export default router
